tweak(commandline): Skip intro logo with -quickstart and enable -nologo, -noShellAnim in Release builds#2266
Conversation
…go, -noShellAnim in Release builds
Greptile Overview
|
| Filename | Overview |
|---|---|
| GeneralsMD/Code/GameEngine/Source/Common/CommandLine.cpp | Removed RTS_DEBUG restriction from -nologo and -noShellAnim flags, removed unused parseNoSizzle function, and updated -quickstart to skip intro logo in Release builds |
Sequence Diagram
sequenceDiagram
participant User
participant CommandLine
participant parseQuickStart
participant parseNoLogo
participant parseNoShellMap
participant parseNoWindowAnimation
participant GlobalData
User->>CommandLine: Start game with -quickstart flag
CommandLine->>parseQuickStart: Call parseQuickStart()
Note over parseQuickStart: Previously in Release builds:<br/>only called parseNoSizzle()
Note over parseQuickStart: Now in Release builds:<br/>calls parseNoLogo() instead
parseQuickStart->>parseNoLogo: Call parseNoLogo()
parseNoLogo->>GlobalData: m_playIntro = FALSE
parseNoLogo->>GlobalData: m_afterIntro = TRUE
parseNoLogo->>GlobalData: m_playSizzle = FALSE
parseQuickStart->>parseNoShellMap: Call parseNoShellMap()
parseNoShellMap->>GlobalData: m_shellMapOn = FALSE
parseQuickStart->>parseNoWindowAnimation: Call parseNoWindowAnimation()
parseNoWindowAnimation->>GlobalData: m_animateWindows = FALSE
Note over GlobalData: Game starts faster:<br/>- No intro logo<br/>- No sizzle video<br/>- No shell map<br/>- No window animations
|
Is this legal? I can see in the additional terms in the license it says that modifications should be clearly marked - however I am not sure if we are allowed to remove the logo entirely? |
"modified versions of the program must be marked as such and not identified as the original program." You could also read this to mean that we have to remove such things as they might lead users to believe that this project is released by EA. But I'm no lawyer so not sure. |
|
It is not removed. Just optionally skippable. But even disabling the video should be just fine. What makes you think we are obliged to preserve the original game exactly like it is with our modified code? |
|
Just wanted to raise the thought - but I agree that the license lean more towards making sure we do NOT market it as afilicated with EA. |
|
This is data related, that EA logo could be pretty much any video in modded data and i don't think we are obligated to show or not show it either way, its just an intro video as far as the code is concerned. |
This change skips the intro logo with -quickstart and enables -nologo, -noShellAnim in Release builds.
This is good for all players that want to start the game very fast.
TODO